package com.reremouse.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "y_systememailbox")
public class SystemEmailBoxModel
        implements Serializable {
    @Id
    @Column(name = "id", unique = true, nullable = false, length = 40)
    private long id = System.nanoTime();
    @Column(name = "address", length = 60)
    private String address;
    @Column(name = "alias", length = 60)
    private String alias;
    @Column(name = "smtpHost", length = 40)
    private String smtpHost;
    @Column(name = "smtpUrn", length = 40)
    private String smtpUrn;
    @Column(name = "smtpPwd", length = 40)
    private String smtpPwd;
    @Column(name = "smtpPort", length = 40)
    private String smtpPort;
    @Column(name = "auth")
    private boolean auth;
    @Column(name = "ifSsl")
    private boolean ssl;

    public SystemEmailBoxModel() {
    }

    public SystemEmailBoxModel(long id) {
        this.id = id;
    }

    public SystemEmailBoxModel(long id, String address, String alias, String smtpHost, String smtpUrn, String smtpPwd, String smtpPort, boolean auth, boolean ssl) {
        this.id = id;
        this.address = address;
        this.alias = alias;
        this.smtpHost = smtpHost;
        this.smtpUrn = smtpUrn;
        this.smtpPwd = smtpPwd;
        this.smtpPort = smtpPort;
        this.auth = auth;
        this.ssl = ssl;
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAlias() {
        return this.alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getSmtpHost() {
        return this.smtpHost;
    }

    public void setSmtpHost(String smtpHost) {
        this.smtpHost = smtpHost;
    }

    public String getSmtpUrn() {
        return this.smtpUrn;
    }

    public void setSmtpUrn(String smtpUrn) {
        this.smtpUrn = smtpUrn;
    }

    public String getSmtpPwd() {
        return this.smtpPwd;
    }

    public void setSmtpPwd(String smtpPwd) {
        this.smtpPwd = smtpPwd;
    }

    public String getSmtpPort() {
        return this.smtpPort;
    }

    public void setSmtpPort(String smtpPort) {
        this.smtpPort = smtpPort;
    }

    public boolean getAuth() {
        return this.auth;
    }

    public void setAuth(boolean auth) {
        this.auth = auth;
    }

    public boolean getSsl() {
        return this.ssl;
    }

    public void setSsl(boolean ssl) {
        this.ssl = ssl;
    }
}



/* Location:           F:\jsp源码\蝙蝠论坛系统\rerebbs\WEB-INF\classes\

 * Qualified Name:     com.reremouse.model.SystemEmailBoxModel

 * JD-Core Version:    0.7.0.1

 */